export default {
    data() {
        return {
            config: null,
            configs: {
                0: {
                    contentImg: '/static/img/activities/invite_activity.jpg',
                    bgColor: '#14223d'
                },
                1: {
                    contentImg: '/static/img/activities/register_activity.jpg',
                    bgColor: '#14223d'
                }
            }
        }
    },
    created() {
        var { id } = this.$route.params
        this.config = this.configs[id]
        if (this.config == null) {
            $router.replace('/system/neterror')
        }
    }
}